package com.zhongdu.stady.shiro;

/**
 * 登录方式的枚举类
 */
public enum ELoginType {
    /** 用户名密码登录 */
    USERNAME("username"),
    /** 手机验证码登录 */
    PHONE("phone");
    private String type;
    private ELoginType(String type){
        this.type = type;
    }
    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return this.type.toString();
    }

}
